﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OnLinePlay.aspx.cs" Inherits="CuPlay_OnLinePlay" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title></title>
</head>
<body>

	<form id="form1" runat="server">
	<div>
		<script type="text/javascript">
			var strpath = "<%=GetCoursewarePath()%>";
		</script>
		
		<script type="text/javascript" src="images/swfobject.js"></script>
		<div class="video" id="CuPlayer">
			<strong>我爱播放器(52player.com) 提示：您的Flash Player版本过低，请<a href="http://www.52player.com/">点此进行网页播放器升级</a>！</strong></div>
		<script type="text/javascript">
			
			var so = new SWFObject("CuPlayerMiniV4.swf", "CuPlayerV4", "600", "410", "9", "#000000");
			so.addParam("allowfullscreen", "true");
			so.addParam("allowscriptaccess", "always");
			so.addParam("wmode", "opaque");
			so.addParam("quality", "high");
			so.addParam("salign", "lt");
			so.addVariable("CuPlayerSetFile", "CuPlayerSetFile.xml"); //播放器配置文件地址,例SetFile.xml、SetFile.asp、SetFile.php、SetFile.aspx
			so.addVariable("CuPlayerFile", strpath); //视频文件地址
			so.addVariable("CuPlayerImage", "images/start.jpg"); //视频略缩图,本图片文件必须正确
			so.addVariable("CuPlayerWidth", "600"); //视频宽度
			so.addVariable("CuPlayerHeight", "410"); //视频高度
			so.addVariable("CuPlayerAutoPlay", "yes"); //是否自动播放
			so.addVariable("CuPlayerLogo", "images/logo.png"); //Logo文件地址
			so.addVariable("CuPlayerPosition", "bottom-right"); //Logo显示的位置
			so.write("CuPlayer");
		</script>

	</div>
	</form>
</body>
</html>
